/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Podiatrist HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S13584 (C-0-T13129-A13130-A13582-S13584-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPodiatristHIPAA()
 * @model extendedMetaData="name='PodiatristHIPAA'"
 * @generated
 */
public enum PodiatristHIPAA implements Enumerator {
	/**
	 * The '<em><b>213E00000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213E00000N_VALUE
	 * @generated
	 * @ordered
	 */
	_213E00000N(0, "_213E00000N", "213E00000N"),

	/**
	 * The '<em><b>213EG0000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213EG0000N_VALUE
	 * @generated
	 * @ordered
	 */
	_213EG0000N(1, "_213EG0000N", "213EG0000N"),

	/**
	 * The '<em><b>213EP0504N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213EP0504N_VALUE
	 * @generated
	 * @ordered
	 */
	_213EP0504N(2, "_213EP0504N", "213EP0504N"),

	/**
	 * The '<em><b>213EP1101N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213EP1101N_VALUE
	 * @generated
	 * @ordered
	 */
	_213EP1101N(3, "_213EP1101N", "213EP1101N"),

	/**
	 * The '<em><b>213ER0200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ER0200N_VALUE
	 * @generated
	 * @ordered
	 */
	_213ER0200N(4, "_213ER0200N", "213ER0200N"),

	/**
	 * The '<em><b>213ES0000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ES0000N_VALUE
	 * @generated
	 * @ordered
	 */
	_213ES0000N(5, "_213ES0000N", "213ES0000N"),

	/**
	 * The '<em><b>213ES0131N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ES0131N_VALUE
	 * @generated
	 * @ordered
	 */
	_213ES0131N(6, "_213ES0131N", "213ES0131N"),

	/**
	 * The '<em><b>213ES0103N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ES0103N_VALUE
	 * @generated
	 * @ordered
	 */
	_213ES0103N(7, "_213ES0103N", "213ES0103N");

	/**
	 * The '<em><b>213E00000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213E00000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213E00000N
	 * @model literal="213E00000N"
	 * @generated
	 * @ordered
	 */
	public static final int _213E00000N_VALUE = 0;

	/**
	 * The '<em><b>213EG0000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213EG0000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213EG0000N
	 * @model literal="213EG0000N"
	 * @generated
	 * @ordered
	 */
	public static final int _213EG0000N_VALUE = 1;

	/**
	 * The '<em><b>213EP0504N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213EP0504N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213EP0504N
	 * @model literal="213EP0504N"
	 * @generated
	 * @ordered
	 */
	public static final int _213EP0504N_VALUE = 2;

	/**
	 * The '<em><b>213EP1101N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213EP1101N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213EP1101N
	 * @model literal="213EP1101N"
	 * @generated
	 * @ordered
	 */
	public static final int _213EP1101N_VALUE = 3;

	/**
	 * The '<em><b>213ER0200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ER0200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ER0200N
	 * @model literal="213ER0200N"
	 * @generated
	 * @ordered
	 */
	public static final int _213ER0200N_VALUE = 4;

	/**
	 * The '<em><b>213ES0000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ES0000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ES0000N
	 * @model literal="213ES0000N"
	 * @generated
	 * @ordered
	 */
	public static final int _213ES0000N_VALUE = 5;

	/**
	 * The '<em><b>213ES0131N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ES0131N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ES0131N
	 * @model literal="213ES0131N"
	 * @generated
	 * @ordered
	 */
	public static final int _213ES0131N_VALUE = 6;

	/**
	 * The '<em><b>213ES0103N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ES0103N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ES0103N
	 * @model literal="213ES0103N"
	 * @generated
	 * @ordered
	 */
	public static final int _213ES0103N_VALUE = 7;

	/**
	 * An array of all the '<em><b>Podiatrist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PodiatristHIPAA[] VALUES_ARRAY =
		new PodiatristHIPAA[] {
			_213E00000N,
			_213EG0000N,
			_213EP0504N,
			_213EP1101N,
			_213ER0200N,
			_213ES0000N,
			_213ES0131N,
			_213ES0103N,
		};

	/**
	 * A public read-only list of all the '<em><b>Podiatrist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PodiatristHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Podiatrist HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PodiatristHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PodiatristHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Podiatrist HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PodiatristHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PodiatristHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Podiatrist HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PodiatristHIPAA get(int value) {
		switch (value) {
			case _213E00000N_VALUE: return _213E00000N;
			case _213EG0000N_VALUE: return _213EG0000N;
			case _213EP0504N_VALUE: return _213EP0504N;
			case _213EP1101N_VALUE: return _213EP1101N;
			case _213ER0200N_VALUE: return _213ER0200N;
			case _213ES0000N_VALUE: return _213ES0000N;
			case _213ES0131N_VALUE: return _213ES0131N;
			case _213ES0103N_VALUE: return _213ES0103N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PodiatristHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PodiatristHIPAA
